<template>
  <van-nav-bar title="意见反馈" left-arrow @click-left="onClickLeft" />
  <div class="con">
    <div class="idea">
      <div class="idea-top">
        <div class="idea-left">
          <div>类别</div>
        </div>
        <div class="idea-right">
          <van-button round size="small">功能使用</van-button>
          <van-button round plain type="success" size="small"
            >其他建议</van-button
          >
        </div>
      </div>
      <div class="idea-con">
        <textarea
          style="border: none"
          name=""
          id=""
          cols="30"
          rows="10"
          placeholder="分享本次购物体验，2~256字"
        ></textarea>
      </div>
    </div>
  </div>

  <div class="tj">
    <van-button type="primary" round size="large">提交</van-button>
  </div>
</template>
<script setup>
const onClickLeft = () => history.back();
</script>
<style>
.con {
  background: #f4f4f4;
}

.idea-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  background: white;
  padding: 10px 10px;
}
.van-button--round {
  margin-left: 10px;
}
.idea-con {
  background: white;
  padding: 0 10px;
}
.tj {
  position: relative;
  bottom: 30px;
  padding: 0 10px;
}
.tj .van-button--round {
  margin: 0;
}
</style>
